package com.example.createservice.mapper;

import com.example.bean.Orders;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
public interface OrderDao {
    @Insert("insert into orders (name,`desc1`,`from1`,`to`,sender,receiver,amount,state) values (#{name},#{desc1},#{from1},#{to},#{sender},#{receiver},#{amount},#{state})")
    Orders insert(Orders orders);
}
